{extend name="layout"}
{block name="body"}


<div class="add-success">
    <img src="__ROOT__/static/mobile/images/error-1.png" >
    <p>{$info|default=''}</p><br>
    <span><span class="second" style="color: #fe4f4c">3</span>s后自动跳转页面</span>

</div>

    
{/block}
{block name='script'}
<script>
	var maxtime = 3; //
	var timer = setInterval("CountDown()", 1000);
	function CountDown() {
		if (maxtime >= 0) {
			$(".second").html(maxtime);
			--maxtime;
		} else {
			window.location.href = "/" + "{$url}";
			clearInterval(timer);
		}
	}
</script>

{/block}